<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreatGameNcdhIssueTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('game_ncdh_issue', function (Blueprint $table) {
            $table->increments('id')->comment('农场大亨开奖结果表');
            $table->timestamp('end_at')->nullable()->comment('截止时间');
            $table->integer('status')->default(0)->comment('开奖状态 0:开奖中 1:开奖中 2:已开奖');
            $table->string('win_type')->default(' ')->comment('开奖结果');
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        //
    }
}
